<%@ page import="workforecast.ActivityType" %>



<div class="fieldcontain ${hasErrors(bean: activityTypeInstance, field: 'name', 'error')} ">
	<label for="name">
		<g:message code="activityType.name.label" default="Name" />
		
	</label>
	<g:textField name="name" value="${activityTypeInstance?.name}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: activityTypeInstance, field: 'isPaid', 'error')} ">
	<label for="isPaid">
		<g:message code="activityType.isPaid.label" default="Paid" />
		
	</label>
	<g:checkBox name="isPaid" value="${activityTypeInstance?.isPaid}" />
</div>

<div class="fieldcontain ${hasErrors(bean: activityTypeInstance, field: 'isEngagement', 'error')} ">
	<label for="isEngagement">
		<g:message code="activityType.isEngagement.label" default="Engagement" />
		
	</label>
	<g:checkBox name="isEngagement" value="${activityTypeInstance?.isEngagement}" />
</div>

<div class="fieldcontain ${hasErrors(bean: activityTypeInstance, field: 'isBillable', 'error')} ">
	<label for="isBillable">
		<g:message code="activityType.isBillable.label" default="Billable" />
		
	</label>
	<g:checkBox name="isBillable" value="${activityTypeInstance?.isBillable}" />
</div>

<div class="fieldcontain ${hasErrors(bean: activityTypeInstance, field: 'isVacation', 'error')} ">
	<label for="isVacation">
		<g:message code="activityType.isVacation.label" default="Vacation" />
		
	</label>
	<g:checkBox name="isVacation" value="${activityTypeInstance?.isVacation}" />
</div>